﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace eShop.Business
{
    public class ApplicationSettings
    {
        public static string TemporaryFolderPath
        {
            get
            {
                return _temporaryFolderPath;
            }
        }

        public static string ManufacturerImagePath
        {
            get
            {
                return _manufacturerImagePath;
            }
        }

        public static string CategoryRootPath
        {
            get
            {
                return _categoryRootPath;
            }
        }

        public static string CategoryImagePath
        {
            get
            {
                return _categoryImagePath;
            }
        }

        public static string ProductImagePath
        {
            get
            {
                return _productImagePath;
            }
        }


        public static int BrandLogoImageWidth
        {
            get
            {
                return _manufacturerLogoImageWidth;
            }
        }

        public static int BrandBannerImageWidth
        {
            get
            {
                return _manufacturerBannerImageWidth;
            }
        }

        public static int CategoryImageWidth
        {
            get
            {
                return _categoryImageWidth;
            }
        }

        public static int CategoryBannerImageWidth
        {
            get
            {
                return _categoryBannerImageWidth;
            }
        }

        public static string SiteBannerImage
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["SITE_BANNER_IMAGE"];
            }
        }

        public static string CategoryDefaultBannerImage
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["CATEGORY_DEFAULT_BANNER_IMAGE"];
            }
        }

        public static string _bKash_WALLET_NUMBER
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["_bKash_WALLET_NUMBER"];
            }
        }

        
        private const string _temporaryFolderPath = "~/upload/temp/";
        private const string _manufacturerImagePath = "~/upload/images/manufacturer/";
        private const string _categoryRootPath = "~/";
        private const string _categoryImagePath = "~/upload/images/category/";
        private const string _productImagePath = "~/upload/images/product/";

        private const int _manufacturerLogoImageWidth = 219;
        private const int _manufacturerBannerImageWidth = 650;
        private const int _categoryImageWidth = 100;
        private const int _categoryBannerImageWidth = 702;
    }
}